//
//  MapScene.h
//  SpaceTrader
//
//  Created by Brandon Chastain on 10/26/12.
//  Copyright (c) 2012 The Hex Pistols. All rights reserved.
//

#include "SpaceTrader.h"
#include "GuiButton.h"
#include "Universe.h"
#include "TravelManager.h"

/*
 * This scene gives the user a view of the entire universe
 * and allows him to choose to travel to a planet from it.
 */
class MapScene {
private:
    Universe *universe;
    Planet *nextPlanet;
	TravelManager *travelManager;
	int nextDistance;
public:
    MapScene(Universe *universe);
    MapScene(const MapScene &M);
    ~MapScene();
    MapScene& operator=(const MapScene &M);
    
    state_t draw(SDL_Surface *screen, Planet *playersLocation, int playersFuel);
    
    Planet *getPlanet();
	
	int getDistance();
};